using System.Data.Entity;

namespace KeyCore.Framework.Contexts
{
    public class BaseContext<TContext> : DbContext where TContext : DbContext
    {
        //private const string nameOrConnectionString = "name=KeyCoreDb";
        //zmienic to 
        
        static BaseContext()
        {
            Database.SetInitializer<TContext>(null);
        }

        protected BaseContext()
            : base("name = KeyCoreDb")//nameOrConnectionString)
        {

        }
    }
}
